package com.ruoyi.personal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 证件信息，用于存储证件的详细信息对象 t_document_information
 * 
 * @author qjp
 * @date 2024-09-11
 */
public class DocumentInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，唯一标识符 */
    private Long id;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 证件有效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证件有效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveDate;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String type;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    /** 证件编号 */
    @Excel(name = "证件编号")
    private String number;

    /** 往返次数 */
    @Excel(name = "往返次数")
    private String roundTripFrequency;

    /** 证件时效 */
    @Excel(name = "证件时效")
    private String ageing;

    /** 保管机构 */
    @Excel(name = "保管机构")
    private String custodian;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreationDate(Date creationDate) 
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate() 
    {
        return creationDate;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setEffectiveDate(Date effectiveDate) 
    {
        this.effectiveDate = effectiveDate;
    }

    public Date getEffectiveDate() 
    {
        return effectiveDate;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setRoundTripFrequency(String roundTripFrequency) 
    {
        this.roundTripFrequency = roundTripFrequency;
    }

    public String getRoundTripFrequency() 
    {
        return roundTripFrequency;
    }
    public void setAgeing(String ageing) 
    {
        this.ageing = ageing;
    }

    public String getAgeing() 
    {
        return ageing;
    }
    public void setCustodian(String custodian) 
    {
        this.custodian = custodian;
    }

    public String getCustodian() 
    {
        return custodian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("creationDate", getCreationDate())
            .append("notes", getNotes())
            .append("effectiveDate", getEffectiveDate())
            .append("type", getType())
            .append("photo", getPhoto())
            .append("number", getNumber())
            .append("roundTripFrequency", getRoundTripFrequency())
            .append("ageing", getAgeing())
            .append("custodian", getCustodian())
            .toString();
    }
}
